
function access(){
    var success = false;
    $.ajax(function(){
        async:false
        从localStorage取出token
        ,data:{}
        ,success:function (res){
            if(res.code == 1)
                success = true;
        }
    })

    return success;
}

access();
